Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use minSubgroupSize, maxSubgroupSize from GPUAdapterInfo #4058

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

dneto0
Copy link
Contributor

@dneto0 dneto0 commented Nov 22, 2024

gpuweb/gpuweb#4963 defines how to get minSubgroupSize, maxSubgroupSize.
It's now from GPUAdapterInfo.

@dneto0 dneto0 requested a review from alan-baker November 22, 2024 17:22
@dneto0
Copy link
Contributor Author

dneto0 commented Nov 22, 2024

I tested this locally with dawn.node

@dneto0
Copy link
Contributor Author

dneto0 commented Nov 22, 2024

This should wait until corresponding changes land in Dawn and Chrome.
https://crbug.com/354751907

@alan-baker
Copy link
Contributor

Note: the spec now specifies default values so there should be an API side test for when the feature isn't supported.

@alan-baker
Copy link
Contributor

Another use was added to subgroupBroadcast.spec.ts via #4069 .

@dneto0 dneto0 force-pushed the subgroup-properties branch 4 times, most recently from 95d84eb to 7c92835 Compare December 5, 2024 03:30
@dneto0 dneto0 force-pushed the subgroup-properties branch from 7c92835 to aa0b241 Compare December 5, 2024 15:24
@dneto0 dneto0 marked this pull request as ready for review December 5, 2024 15:25
@dneto0 dneto0 merged commit 81c8097 into gpuweb:main Dec 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants